package PBMessage 
import "github.com/golang/protobuf/proto" 
//GetPBMessageByID 根据ID获取PBMessageB结构体 
func GetPBMessageByID(msgID int32)  proto.Message { 
switch msgID { 
  case 0:
  return  &CS_Login{} 
  case 1:
  return  &SC_Login{} 
  case 2:
  return  &CS_LobbyTick{} 
  case 3:
  return  &SC_LobbyTick{} 
  case 4:
  return  &CS_StartMatch{} 
  case 5:
  return  &SC_StartMatch{} 
  case 6:
  return  &CS_SelectUnit{} 
  case 7:
  return  &SC_EnterGameRoom{} 
  case 8:
  return  &SC_GameSceneTick{} 
  case 9:
  return  &SC_CreateUnit{} 
  case 10:
  return  &CS_MoveUnit{} 
  case 11:
  return  &SC_MoveUnit{} 
  case 12:
  return  &SC_UnitState{} 
  case 13:
  return  &SC_OptUnit{} 
  case 14:
  return  &CS_RunAbility{} 
  case 15:
  return  &SC_ExecAbility{} 
  case 16:
  return  &SC_SyncUnitProperty{} 
  case 17:
  return  &SC_UnitAddMover{} 
 } 
 return nil 
 } 
